package ooday04;

public class Chick extends Animal {
    Chick(String name,String color,int age){
        super(name,color,age);
    }
     void leg(){
        System.out.println(name+"在下蛋");
    }
    void eat(){
        System.out.println("它叫"+name+"今年"+age+"岁了，一身"+color+"正在米");
    }
}
